/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __KEYPAD_H
#define __KEYPAD_H

#ifdef __cplusplus
extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include <stm32f0xx.h>

/* Exported constants --------------------------------------------------------*/
#define	OUTPUT	1
#define INPUT	0
	
#define HIGH	1
#define	LOW		0
	
/* Exported macro ------------------------------------------------------------*/
/* Exported functions ------------------------------------------------------- */
void pinMode(uint8_t, int);
void digitalWrite(uint8_t, int);
int digitalRead(uint8_t);
int analogRead(uint8_t);
void analogWrite(uint8_t, uint16_t);
	 
uint32_t millis(void);
void delay(uint32_t);
void platform_config(void);
void initgpio(void);
void display(int b);



#ifdef __cplusplus
} // extern "C"
#endif

#endif // __KEYPAD_H
